﻿using UnityEngine;using System.Collections;using TNet;public class Agent : MonoBehaviour {	public Transform agentTransform;	void Start () 	{		GameObject obj = GameObject.FindGameObjectWithTag("FpsProperty");		if(obj)		{			agentTransform = obj.transform;		}	}	void Update () 	{		if(agentTransform)		{			this.transform.position = agentTransform.transform.position;			this.transform.rotation = agentTransform.transform.rotation;		}	}}